<%-- 
    Document   : homeLogin
    Created on : Dec 8, 2012, 2:52:55 AM
    Author     : Pk
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link href="css/bootstrap.css" rel="stylesheet">
        <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
        <sj:head/>
        <script src="js/jquery.js"></script>
        <script src="js/jquery.cookie.js"></script>
        <script src="js/coms.js"></script>
        <script src="js/bootstrap.min.js"></script>
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.3.js"> </script>
     
        <script type="text/javascript">
            $(document).ready(function() {
                $("#myLoginDiv").css("padding","2px");
                $("#myLoginDiv").css("padding-top","20px");
                $("#username").css("width","135px");
                $("#password").css("width","135px");
                $("#tab").css("padding-top","20px");
            
        });
        </script>
        
    </head>
    <body>
        <div class="hero-unit" id="myLoginDiv">
            <center><a href="welcomePage"><img src="img/Logo.png"/></a><br/></center>
            <s:actionerror/>
            <s:form action="authenticate">
                <table width="100" id="tab" cellpadding="5">
                    <tr> 
                        <td>Username&nbsp;&nbsp;</td>
                        <td ><s:textfield name="user.username" size="10" maxlength="20" id="username"/>
                        </td>
                    </tr>                   
                    <tr>
                        <td><s:text name="fieldLabel.password"/>&nbsp;&nbsp;</td>
                        <td><s:password name="user.password" size="10" maxlength="20" id="password"/>
                        </td>
                    </tr>                    
                    <tr>
                        <td></td>                        
                        <td>
                            <s:submit value="Login" align="middle" />                                                        
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <s:property value="#error"/>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2"><a href="inputUser">I am a new user</a></td>
                    </tr>
                    <tr>
                        <td colspan="2"><p align="justify">Conference Management System allows user to register for new Conferences, Allows authors to submit their material, 
                            Review other's material, Make Payment for conference, Subscribe to various Conference events, Get notified by email about new events and numerous other essential functions for ensuring convienience.</p></td>
                    </tr>
                </table>
            </s:form>
        </div>
    </body>
</html>
